<!DOCTYPE html>
<html>
<head>
    <title>{$page.title} - {:Config('WEB_NAME')}</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="/favicon.ico">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    {block name="head"}
    <link rel="stylesheet" href="/css?js/smui/sm.min.css,js/smui/sm.extend.min.css,mobile/css/style.css">
    <script src="/js?zepto.min.js,smui/sm.min.js,smui/sm.extend.min.js,common.js"></script>
    {/block}
    {block name="CSS"}
    {/block}
</head>
<body>    
<div class="page-group">
    <div class="page page-current">
        {block name="header"}
        <header class="bar bar-nav">
            <a class="button button-link button-nav pull-left back" href="/" ><span class="icon icon-left"></span>返回</a>
            <h1 class="title">{$page.title}</h1>
        </header>
        {/block}
        {block name="body"}
        {/block}
        {block name="footer"}        
        <!-- 工具栏 -->
        <nav class="bar bar-tab">
            <a class="tab-item external {notin name='Request.controller' value='Member,Setting'} active{/notin}" href="/">
                <span class="icon icon-home"></span>
                <span class="tab-label">首页</span>
            </a>
            <a class="tab-item external {eq name='Request.controller' value='Member'} active{/eq}" href="/Member.html">
                <span class="icon icon-me"></span>
                <span class="tab-label">我</span>
            </a>
            <a class="tab-item external {eq name='Request.controller' value='Setting'} active{/eq}" href="/Setting.html">
                <span class="icon icon-settings"></span>
                <span class="tab-label">设置</span>
            </a>
        </nav>
        {/block}
    </div>
</div>
{block name="JS"}
{/block}
</body>
</html>
